package com.hualan.sfzy.mapper.course;

import com.hualan.sfzy.entity.CourseVideo;
import com.hualan.sfzy.mapper.BaseMapper;
import com.hualan.sfzy.vo.CourseVideoVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author LENOVO
* @description 针对表【course_video】的数据库操作Mapper
* @createDate 2025-07-16 21:31:35
* @Entity dao.CourseVideo
*/
@Mapper
public interface CourseVideoMapper extends BaseMapper<CourseVideo> {

    int delete(Integer id);
    int deleteBatch(Integer[] ids);

    int insert(CourseVideo record);

    int insertVo(CourseVideoVo record);

    int update(CourseVideo record);

    int updateVo(CourseVideoVo record);

    List<CourseVideo> select(Integer courseId);

    CourseVideo selectById(Integer id);

    List<CourseVideo> selectAll();

    List<CourseVideoVo> selectVo(CourseVideoVo courseVideoVo);
}
